﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once
#include <string>
#include "GmImport3ds.h"

namespace gcmp
{
    /// \brief 3ds导出
    ///
    class GMIMPORT3DS_EXPORT I3DSExporter
    {
    public:
        virtual ~I3DSExporter() {};
        
        /// \brief 构造导出3ds的静态方法
        ///          
        /// \return 3DS导出
        static OwnerPtr<I3DSExporter> Create();

        /// \brief 判断导出是否成功
        ///          
        /// \param filePath     导出的位置
        /// \param unitsFactor  单位转换因子，默认是1.0（毫米)
        /// \return true,成功； false,失败
        virtual bool Export(const std::wstring &filePath, double unitsFactor = 1.0) const = 0;
    };
}
